package view;

import dao.BusinessDao;
import dao.impl.BusinessDaoImpl;
import pojo.Business;

import java.util.List;

public class test2 {
    private static BusinessDao businessDao=new BusinessDaoImpl();

    public static void main(String[] args) {
        List<Business> businessList=businessDao.findCanteenBus("1");
        for (Business business:businessList){
            System.out.println(business.toString());
        }
    }
}
